
public class Circle {
	private double radius;
	private String color;
	public Circle(){
		radius=1.0;
		color="red";
	}
	public Circle(double radius){
		this.radius=radius;
	}
	public Circle(double radius,String color){
		this.radius=radius;
		this.color=color;
	}
	public double getRadius(){
		return radius;
	}
	public String getcolor(){
		return color;
	}
	public void setRadius(double radius){
		this.radius=radius;
	}
	public void setColor(String color){
		this.color=color;
	}
	public String toString(){
		return "Circle[radius="+radius+",color="+color+"]";
	}
	public double getArea(){
		return Math.PI*radius*radius;
	}
}
